import { NgModule } from '@angular/core'
import { CommonModule } from '@angular/common'
import { RouterModule, Routes } from '@angular/router'
import { NgBootstrapComponent } from './ng-bootstrap.component'
import { NgbModule } from '@ng-bootstrap/ng-bootstrap'
import { FormsModule, ReactiveFormsModule } from '@angular/forms'
import { DefaultComponent } from '../../default.component'
import { LayoutModule } from '../../../../layouts/layout.module'

const routes: Routes = [
    {
        path: "",
        component: DefaultComponent,
        children: [
            {
                path: "",
                component: NgBootstrapComponent
            }
        ]
    },
]

@NgModule({
    imports: [
        CommonModule, RouterModule.forChild(routes),
        LayoutModule,
        NgbModule.forRoot(),
        FormsModule,
        ReactiveFormsModule
    ], declarations: [
        NgBootstrapComponent
    ]
})
export class NgBootstrapModule {
}
